package com.Khan.SocialRescueSys.service;

import com.Khan.SocialRescueSys.pojo.Force;
import com.Khan.SocialRescueSys.pojo.ProvinceForceCount;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Khan Liu
 * @date 2022/4/4 14:34
 */
public interface ForceService {

    Force getForce(Long id);

    List<Force> getIndexForce();

    List<Force> getByTypeId(Long typeId);

    List<Force> getByProvinceId(Long provinceId);

    List<Force> getSearchForce(String query);

    List<Force> getAllForce();

    Force getDetailedForce(Long id);

    int saveForce(Force force);

    int updateForceView(Long id);

    int updateForce(Force force);

    int deleteForce(Long id);

    int updateForcePublished(Long id);

    List<ProvinceForceCount> getProvinceForceCount();

}
